#1.假复制 用= 进行赋值
# names = ["mike","mary","jan","jack"]
# names_源文件 = names
# names.append("abaaba")
# print("names=",names)
# print("names_源文件",names_源文件)

#2.正确的方法一：copy()
# names = ["mike","mary","jan","jack"]
# names_源文件 = names.copy()
# names.append("abaaba")
# print("names=",names)
# print("names_源文件",names_源文件)

#3.正确的方法2   切片[:]
names = ["mike","mary","jan","jack"]
names_源文件 = names[:]
names.append("abaaba")
print("names=",names)
print("names_源文件",names_源文件)